.merge-tooltip-container {
  padding: 20px;
  width: 800px;
  margin: 0 auto;
}

.merge-tooltip-container h2 {
  margin-bottom: 20px;
  color: #333;
}

.merge-tooltip-container .slider-wrapper {
  width: 800px;
  background: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.merge-tooltip-container .slider-container {
  position: relative;
  padding: 20px 0;
}

/* 合并后的工具提示样式 */
.merge-tooltip-container .merged-tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 1;
  white-space: nowrap;
}

.merge-tooltip-container .merged-tooltip::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #333;
}

/* 滑块样式 */
.merge-tooltip-container .noUi-connect {
  background: #2196F3;
}

.merge-tooltip-container .noUi-handle {
  width: 20px;
  height: 20px;
  right: -10px;
  top: -3px;
  background: #fff;
  border: 2px solid #2196F3;
  border-radius: 50%;
}

.merge-tooltip-container .noUi-handle:before,
.merge-tooltip-container .noUi-handle:after {
  display: none;
}

/* 原始工具提示样式 */
.noUi-tooltip {
  background: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  transition: opacity 0.2s ease;
}

/* 当工具提示重叠时隐藏原始工具提示 */
.noUi-handle.noUi-active + .noUi-tooltip {
  opacity: 0;
} 